package com.demo;

public class UsePhone {
    public static void main(String[] args) {
        Phone p = new Phone();
        System.out.println(p);
        p.call("182");
        System.out.println(p.brand);
        System.out.println(p.price);

        p.brand = "华为";
        p.price = 2000;

        System.out.println(p.brand);
        System.out.println(p.price);

    }
}
